package com.hanhai.material.device.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 *  实体类。
 *
 * @author youchuang
 * @since 2024/02/29 17:13:12
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "sys_plc1")
public class SysPlc1 implements Serializable {

    @Id(keyType = KeyType.Auto)
    private Integer id;

    private String name;

    private Integer errorParamNum;

    private Integer warnParamNum;

    private Integer status;

    private String imgUrl;

    private String imgUrlPc;

    private Integer isElec;

    private String regionId;

    private String projectId;

    private Timestamp createTime;

    private String plcDeviceId;

    private String machineName;

    private String machineArea;

    private String paramsDown;

    private String paramsUp;

    private String paramsStatus;

    private String paramsAna;

    private Double shiftNum;

    private Double modeNum;

    private Long averagePeriod;

    private String workPlanId;

    private String productRecordId;

}
